package Ex5th;

public class Electricar extends TransTool{
    private String electric;

    public Electricar(String color, String brand, String electric) {
        super("电动车", color, brand);
        this.electric = electric;
    }

    public void intro(){
        super.intro();
        System.out.println("\t电量：" + electric);
    }
}
